projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aba05ae
)
(pos_tab_offset): Don't trigger point-motion hooks.
author
Karl Heuer
<kwzh@gnu.org>
Tue, 23 Aug 1994 23:00:56 +0000
(23:00 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Tue, 23 Aug 1994 23:00:56 +0000
(23:00 +0000)
src/indent.c
patch
|
blob
|
history
diff --git
a/src/indent.c
b/src/indent.c
index 5e09526e6c8934644486607aece4992c37afaed4..e90bc4032880f5302c4f8d04e4b13a7bde107d84 100644
(file)
--- a/
src/indent.c
+++ b/
src/indent.c
@@
-721,15
+721,15
@@
pos_tab_offset (w, pos)
struct window *w;
register int pos;
{
- int opoint =
point
;
+ int opoint =
PT
;
int col;
int width = window_internal_width (w) - 1;
if (pos == BEGV || FETCH_CHAR (pos - 1) == '\n')
return 0;
- SET_PT (pos);
+
TEMP_
SET_PT (pos);
col = current_column ();
- SET_PT (opoint);
+
TEMP_
SET_PT (opoint);
return col - (col % width);
}